package com.zito.health.entity.jiekou;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.apache.commons.codec.digest.DigestUtils;

public class HanwebParam {
	/**
	 * 接口路径
	 */
	private String url = "http://zwfw.sd.gov.cn/sdsfjis/gateway/interface.do";

	/**
	 * 应用名称
	 */
	private String name = "实验室生物安全备案系统";

	/**
	 * 应用标识
	 */
	private String appmark = "jnswaqbagl";

	/**
	 * 应用密钥
	 */
	private String appword = "vqmm0vYs3j5G";

	/**
	 * 解密私钥
	 */
	private String sm2 = "F459B226B35E18184BADBC5CD8B3D6C2DD5858C76C2973C5D737E5EA6B82F9C6";

	/**
	 * UUID
	 */
	private String uuid = "i8JUScE4wjF2";

	/**
	 * 当前时间
	 */
	private String time = new SimpleDateFormat("yyyyMMddHHmmss").format(new Date());

	/**
	 * md5加密
	 */
	private String sign = DigestUtils.md5Hex(appmark + appword + time);

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAppmark() {
		return appmark;
	}

	public void setAppmark(String appmark) {
		this.appmark = appmark;
	}

	public String getAppword() {
		return appword;
	}

	public void setAppword(String appword) {
		this.appword = appword;
	}

	public String getSm2() {
		return sm2;
	}

	public void setSm2(String sm2) {
		this.sm2 = sm2;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

}
